function y = exden(x)
% EX.DENSCHNB function
% x0=ones(n,1);
n=length(x); y=0;
m=n/2;
for i=1:m
    y=y+(x(2*i-1)-2)^2+(x(2*i-1)-2)^2*(x(2*i))^2+(x(2*i)+1)^2;
end


